"use strict";
function text(req, res, next) {
    res.text = function (txt) {
        res.writeHead(200, {'Content-Type': 'text/plain'});
        res.write(txt);
        res.end();
    };
    next();
}

module.exports = text;
